<!doctype html><html lang="zh-Hans-CN"><head>	<meta charset="UTF-8">	<title>location对象的应用</title>	<script>		function currLocation(){alert(window.location)}		function newLocation(){window.location="http://www.baidu.com"}	</script></head><body>	<h2>location对象的应用</h2>  	<hr>	<input type="button" onclick="currLocation()" value="显示当前的 URL">	<input type="button" onclick="newLocation()" value="改变 URL-百度">	<hr>	<p> <script>document.write(document.lastModified);</script> <a href="index.html">返回本章目录</a></p></body></html>